const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  // 品牌信息
  trademarkInfo:state=>state.trademark.trademarkInfo || {},
  // 一级分类商品
  category1List:state=>state.attrs.category1List || [],
  // 二级分类商品
  category2List:state=>state.attrs.category2List || [],
  // 三级分类商品
  category3List:state=>state.attrs.category3List || [],
  // 选中的商品属性列表
  attrInfoList:state=>state.attrs.attrInfoList || [],
  // chart的mock数据
  chartMockData:state=>state.home.chartMockData || {}
}
export default getters
